#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>

int main()
{
    chdir("/home/lp");
    printf("PWD == %s\n", getenv("PWD"));
    printf("pwd == ");
    fflush(stdout);
    execlp("pwd", "pwd", NULL);
    return 0;
}
